using System;

namespace BTKERP.Model
{
	#region City
	/// <summary>
	/// This object represents the properties and methods of a City.
	/// </summary>
	[Serializable]
	public class City
	{
		protected Guid _id;
		protected string _name = String.Empty;
		protected string _description = String.Empty;
		protected Guid _countryId;
		protected DateTime _createdOn;
		protected string _createdBy = String.Empty;
		protected DateTime _updatedOn;
		protected string _updatedBy = String.Empty;
		protected bool _isDeleted;
		
		public City()
		{
		}
		
		#region Public Properties
		public Guid Id
		{
			get {return _id;}
			set { _id = value;}
		}
		
		public string Name
		{
			get {return _name;}
			set {_name = value;}
		}

		public string Description
		{
			get {return _description;}
			set {_description = value;}
		}

		public Guid CountryId
		{
			get {return _countryId;}
			set {_countryId = value;}
		}

		public DateTime CreatedOn
		{
			get {return _createdOn;}
			set {_createdOn = value;}
		}

		public string CreatedBy
		{
			get {return _createdBy;}
			set {_createdBy = value;}
		}

		public DateTime UpdatedOn
		{
			get {return _updatedOn;}
			set {_updatedOn = value;}
		}

		public string UpdatedBy
		{
			get {return _updatedBy;}
			set {_updatedBy = value;}
		}

		public bool IsDeleted
		{
			get {return _isDeleted;}
			set {_isDeleted = value;}
		}
		#endregion
		
	}
	#endregion
}
